package portal.beans;

public class HostMachine {
    private int hostId;
    private String hostName;
    private String hostIp;
    private String hostType;
    private int hostGroupId;
    private String hostGroupName;
    private String hostState;
    private String hostSSH;

    public HostMachine() {}

    public HostMachine(String hostName, String hostIp, String hostType, int hostGroupId, String hostGroupName, String hostState, String hostSSH) {
        this.hostName = hostName;
        this.hostIp = hostIp;
        this.hostType = hostType;
        this.hostGroupId = hostGroupId;
        this.hostGroupName = hostGroupName;
        this.hostState = hostState;
        this.hostSSH = hostSSH;
    }

    public HostMachine(int hostId, String hostName, String hostIp, String hostType, int hostGroupId, String hostGroupName, String hostState, String hostSSH) {
        this.hostId = hostId;
        this.hostName = hostName;
        this.hostIp = hostIp;
        this.hostType = hostType;
        this.hostGroupId = hostGroupId;
        this.hostGroupName = hostGroupName;
        this.hostState = hostState;
        this.hostSSH = hostSSH;
    }

    public int getHostId() {
        return hostId;
    }

    public void setHostId(int hostId) {
        this.hostId = hostId;
    }

    public String getHostName() {
        return hostName;
    }

    public void setHostName(String hostName) {
        this.hostName = hostName;
    }

    public String getHostIp() {
        return hostIp;
    }

    public void setHostIp(String hostIp) {
        this.hostIp = hostIp;
    }

    public String getHostType() {
        return hostType;
    }

    public void setHostType(String hostType) {
        this.hostType = hostType;
    }

    public int getHostGroupId() {
        return hostGroupId;
    }

    public void setHostGroupId(int hostGroupId) {
        this.hostGroupId = hostGroupId;
    }

    public String getHostGroupName() {
        return hostGroupName;
    }

    public void setHostGroupName(String hostGroupName) {
        this.hostGroupName = hostGroupName;
    }

    public String getHostState() {
        return hostState;
    }

    public void setHostState(String hostState) {
        this.hostState = hostState;
    }

    public String getHostSSH() {
        return hostSSH;
    }

    public void setHostSSH(String hostSSH) {
        this.hostSSH = hostSSH;
    }

    @Override
    public String toString() {
        return "HostMachine{" +
                "hostId=" + hostId +
                ", hostName='" + hostName + '\'' +
                ", hostIp='" + hostIp + '\'' +
                ", hostType='" + hostType + '\'' +
                ", hostGroupId=" + hostGroupId +
                ", hostGroupName='" + hostGroupName + '\'' +
                ", hostState='" + hostState + '\'' +
                ", hostSSH='" + hostSSH + '\'' +
                '}';
    }
}
